<layout name="layout"/>
<form class="uk-form">
    <div class="uk-grid">
		<div class="uk-width-1-4">{$Think.lang.aff_id}:<input type="text" name="ar_aff_id" placeholder="" class="uk-width-1-1"></div>
        <div class="uk-width-1-4">{$Think.lang.type}:
		<select name="ar_type">
		<option value="">--Please choose--</option>
		<volist name=":resellerstatementType()" id="vo">
		<option value="{$key}">{$vo}</option>
		</volist>
		</select>
		</div>
		 <div class="uk-width-1-4">{$Think.lang.remark}:<input type="text" name="ar_remark" placeholder="" class="uk-width-1-1"></div>
    </div>
	<p>
<button type="submit" class="uk-button uk-button-danger">{$Think.lang.search}</button>
</p>
</form>
          <div class="uk-overflow-container">
            <table class="uk-table uk-table-hover uk-table-striped uk-table-condensed">
	<thead>
		<th>#</th>		<th>{$Think.lang.aff_id}</th>		<th>{$Think.lang.amount}</th>		
		<th>{$Think.lang.type}</th>	<th>{$Think.lang.balance}</th> <th>{$Think.lang.fee}</th>	<th>{$Think.lang.add_time}</th>  <th>{$Think.lang.remark}</th> 	
	</thead>
	<tbody>
		<volist name="list" id="vo">
		<tr>
			<td>{$vo.ar_id}</td><td>{$vo.ar_aff_id}</td>
			<td>
			<eq name="vo.ar_status" value="1">
			<font color=green>
			<else/>
			<font color=red>
			</eq>
			{$vo.ar_amount}
			</font>
			</td>
			<td>{$vo.ar_type|resellerstatementType}</td><td>{$vo.ar_balance}</td><td>{$vo.ar_fee}</td>
			<td>{$vo.ar_time}</td><td>{$vo.ar_remark}</td>
		</tr>
		</volist>
	</tbody>
</table>
</div>
{$page}
